openPrivButton( "event",78,120,20,10,10,-1,ISB_DARK,"^1EVENT",ButtonEvent );
Sub ButtonEvent( $KeyFlags,$id )
closePrivButton("event");
PrivDelayedCommand( 6, ButtonEvent2 );
EndSub
Sub ButtonEvent2( $KeyFlags )
openPrivButton( "event",78,120,20,10,10,-1,ISB_DARK,"^2EVENT",ButtonEvent );
EndSub
I have placed the OpenPrivButton in the OnConnect Event, so that everyone who connects to the server, gets that button.
As soon as you click it, ButtonEvent is called, which closes the button and then executes a DelayedCommand after 6 seconds, to go to ButtonEvent2.
In that event, the button is opened again and when you click it, ButtonEvent is called again.
I hope this is what you want, since you can't draw global buttons.
There is a way to work around that, but I haven't got time to work that out right now.